package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Department;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;

public interface IDepartmentService {

    List<Department> listAll();

    Department getById(Long id);

    void saveOrUpdate(Department obj);

    void delete(Long id);

    PageResult query(QueryObject qo);
}
